@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: 微软雅黑, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// global css
.full-width {
  width: 100% !important;
}

::-webkit-scrollbar {
  width: 0.3rem;
  height: 0.6rem;
}

::-webkit-scrollbar-thumb {
  background: $scrollbarBgColor;
  border-radius: 1rem;
  box-shadow: inset 2px 2px 2px hsla(0, 0%, 100%, .25)
  inset -2px -2px 2px rgba(0, 0, 0, .25);
}

// loading 样式
.loading-style {
  background: linear-gradient(to bottom, #409eff, #ffffff);
  .el-loading-spinner {
    flex-direction: column;
  }

  .el-loading-spinner .path {
    stroke: #ffffff;
  }.el-loading-text {
    color: #ffffff;
  }
}
